Skip to content

Set default service version to 2025-07-01 for keyvault secrets#48690

Merged
rohitsinghal4u merged 3 commits intomainfrom
fix/keyvault-secrets-default-version-2025-07-01
Apr 6, 2026
Merged

Set default service version to 2025-07-01 for keyvault secrets#48690
rohitsinghal4u merged 3 commits intomainfrom
fix/keyvault-secrets-default-version-2025-07-01

Conversation

@rohitsinghal4u
Copy link
Copy Markdown
Contributor

@rohitsinghal4u rohitsinghal4u commented Apr 5, 2026

  • Added V2025_07_01 enum constant to SecretServiceVersion
  • Updated getLatest() to return V2025_07_01
  • Updated SecretsCustomizations.java codegen to include 2025-07-01
  • Updated assets.json tag for new test recordings
  • Added CHANGELOG entry for 2025-07-01 service version support in 4.11.0-beta.1

- Added V2025_07_01 enum constant to SecretServiceVersion
- Updated getLatest() to return V2025_07_01
- Updated SecretsCustomizations.java codegen to include 2025-07-01
- Re-recorded all tests (sync + async) against live service with 2025-07-01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Azure Key Vault Secrets Java client library to recognize the 2025-07-01 service API version and make it the default “latest” version used by the client.

Changes:

  • Added V2025_07_01 to SecretServiceVersion and switched getLatest() to return it.
  • Updated TypeSpec customization (SecretsCustomizations) to generate the new service version entry and default.
  • Updated assets.json tag to point at the new test recordings asset set.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretServiceVersion.java Adds 2025-07-01 enum constant and makes it the default returned by getLatest().
sdk/keyvault/azure-security-keyvault-secrets/customizations/src/main/java/SecretsCustomizations.java Updates codegen customization to include 2025-07-01 and generate getLatest() accordingly.
sdk/keyvault/azure-security-keyvault-secrets/assets.json Advances the assets tag for updated recordings.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure:azure-security-keyvault-secrets

@github-project-automation github-project-automation bot moved this from Untriaged to In Progress in Azure SDK for Key Vault Apr 6, 2026
@rohitsinghal4u rohitsinghal4u enabled auto-merge (squash) April 6, 2026 20:31
@rohitsinghal4u rohitsinghal4u merged commit 966398c into main Apr 6, 2026
18 checks passed
@rohitsinghal4u rohitsinghal4u deleted the fix/keyvault-secrets-default-version-2025-07-01 branch April 6, 2026 21:00
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure SDK for Key Vault Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants